#ifndef _MY_STACK_H_
#define _MY_STACK_H_

#include <iostream>
#include <vector>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <stdexcept>

using namespace std;

namespace MyStack {

class Stack {
    public:
        void push(int const & elem);
        void pop();
        int top() const;
        bool empty() const {
            return elems.empty();
        }
    private:
        vector<int> elems;
};

}

#endif
